<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>智慧配镜 - 统计报表</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <style>
        .glass-effect {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .mockup {
            border: 2px solid #e5e7eb;
            border-radius: 1rem;
            overflow: hidden;
        }
        .chart-placeholder {
            background: linear-gradient(45deg, #f3f4f6 25%, #e5e7eb 25%, #e5e7eb 50%, #f3f4f6 50%, #f3f4f6 75%, #e5e7eb 75%);
            background-size: 20px 20px;
        }
    </style>
</head>
<body class="bg-gradient-to-br from-blue-50 to-blue-100 min-h-screen p-8">
    <div class="mockup w-[400px] h-[600px]">
        <div class="h-full flex flex-col glass-effect">
            <!-- 顶部导航 -->
            <div class="p-4 border-b border-gray-200">
                <div class="flex items-center justify-between">
                    <div class="flex items-center">
                        <button class="mr-4 p-2 rounded-full hover:bg-gray-100">
                            <img src="https://unpkg.com/lucide-static@latest/icons/arrow-left.svg" class="w-6 h-6">
                        </button>
                        <h1 class="text-xl font-bold text-blue-800">统计报表</h1>
                    </div>
                    <div class="flex items-center space-x-2">
                        <select class="px-3 py-1 text-sm border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
                            <option>今日</option>
                            <option>本周</option>
                            <option>本月</option>
                            <option>本年</option>
                        </select>
                        <button class="p-2 rounded-full hover:bg-gray-100">
                            <img src="https://unpkg.com/lucide-static@latest/icons/download.svg" class="w-6 h-6">
                        </button>
                    </div>
                </div>
            </div>

            <!-- 统计内容 -->
            <div class="flex-1 overflow-y-auto">
                <!-- 数据概览 -->
                <div class="p-4 border-b border-gray-200">
                    <h2 class="text-lg font-semibold text-gray-900 mb-4">数据概览</h2>
                    <div class="grid grid-cols-2 gap-4">
                        <div class="p-4 bg-white rounded-lg shadow-sm">
                            <div class="text-sm text-gray-500">总销售额</div>
                            <div class="text-2xl font-bold text-blue-600">¥12,580</div>
                            <div class="text-sm text-green-500">↑ 12.5%</div>
                        </div>
                        <div class="p-4 bg-white rounded-lg shadow-sm">
                            <div class="text-sm text-gray-500">订单数量</div>
                            <div class="text-2xl font-bold text-blue-600">86</div>
                            <div class="text-sm text-green-500">↑ 8.2%</div>
                        </div>
                        <div class="p-4 bg-white rounded-lg shadow-sm">
                            <div class="text-sm text-gray-500">新增用户</div>
                            <div class="text-2xl font-bold text-blue-600">24</div>
                            <div class="text-sm text-green-500">↑ 5.3%</div>
                        </div>
                        <div class="p-4 bg-white rounded-lg shadow-sm">
                            <div class="text-sm text-gray-500">商品销量</div>
                            <div class="text-2xl font-bold text-blue-600">156</div>
                            <div class="text-sm text-green-500">↑ 15.8%</div>
                        </div>
                    </div>
                </div>

                <!-- 销售趋势 -->
                <div class="p-4 border-b border-gray-200">
                    <h2 class="text-lg font-semibold text-gray-900 mb-4">销售趋势</h2>
                    <div class="h-40 chart-placeholder rounded-lg"></div>
                </div>

                <!-- 商品分析 -->
                <div class="p-4 border-b border-gray-200">
                    <h2 class="text-lg font-semibold text-gray-900 mb-4">商品分析</h2>
                    <div class="space-y-4">
                        <div class="flex items-center justify-between">
                            <div class="flex items-center">
                                <div class="w-10 h-10 bg-gray-200 rounded-lg mr-3"></div>
                                <div>
                                    <div class="text-sm font-medium text-gray-900">时尚金属框</div>
                                    <div class="text-xs text-gray-500">销量: 42</div>
                                </div>
                            </div>
                            <div class="text-sm font-medium text-blue-600">¥1,280</div>
                        </div>
                        <div class="flex items-center justify-between">
                            <div class="flex items-center">
                                <div class="w-10 h-10 bg-gray-200 rounded-lg mr-3"></div>
                                <div>
                                    <div class="text-sm font-medium text-gray-900">防蓝光镜片</div>
                                    <div class="text-xs text-gray-500">销量: 38</div>
                                </div>
                            </div>
                            <div class="text-sm font-medium text-blue-600">¥680</div>
                        </div>
                        <div class="flex items-center justify-between">
                            <div class="flex items-center">
                                <div class="w-10 h-10 bg-gray-200 rounded-lg mr-3"></div>
                                <div>
                                    <div class="text-sm font-medium text-gray-900">运动眼镜</div>
                                    <div class="text-xs text-gray-500">销量: 25</div>
                                </div>
                            </div>
                            <div class="text-sm font-medium text-blue-600">¥980</div>
                        </div>
                    </div>
                </div>

                <!-- 用户分析 -->
                <div class="p-4">
                    <h2 class="text-lg font-semibold text-gray-900 mb-4">用户分析</h2>
                    <div class="h-40 chart-placeholder rounded-lg"></div>
                </div>
            </div>

            <!-- 底部导航 -->
            <div class="p-4 border-t border-gray-200">
                <div class="flex justify-between items-center">
                    <button class="px-4 py-2 text-gray-600 hover:text-blue-600">
                        <img src="https://unpkg.com/lucide-static@latest/icons/home.svg" class="w-6 h-6 mx-auto">
                        <span class="text-xs mt-1">首页</span>
                    </button>
                    <button class="px-4 py-2 text-gray-600 hover:text-blue-600">
                        <img src="https://unpkg.com/lucide-static@latest/icons/package.svg" class="w-6 h-6 mx-auto">
                        <span class="text-xs mt-1">商品</span>
                    </button>
                    <button class="px-4 py-2 text-gray-600 hover:text-blue-600">
                        <img src="https://unpkg.com/lucide-static@latest/icons/clipboard-list.svg" class="w-6 h-6 mx-auto">
                        <span class="text-xs mt-1">订单</span>
                    </button>
                    <button class="px-4 py-2 text-blue-600">
                        <img src="https://unpkg.com/lucide-static@latest/icons/bar-chart-2.svg" class="w-6 h-6 mx-auto">
                        <span class="text-xs mt-1">统计</span>
                    </button>
                </div>
            </div>
        </div>
    </div>
</body>
</html> 